package com.saint.server.mapper;

import com.saint.server.pojo.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author saint
 * @since 2021-03-05
 */
public interface RoleMapper extends BaseMapper<Role> {

    /**
    * @Description: getRoles
    * @Param: [adminId]
    * @return: java.util.List<com.saint.server.pojo.Role>
    * @Author: zhang chunyu
    * @Date: 2021/3/20
    */ 
    List<Role> getRoles(Integer adminId);
}
